@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>回访详情</h5>
            </div>
            <div style="display: none">
                <input type="hidden" id="id" value="">
                <input type="hidden" id="tcNameValue" value="">
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3 fatherBtn">
                                <#NameCon id="customerName" name="客户姓名" />
                            </div>
                            <div class="col-sm-3 fatherBtn">
                                <#NameCon id="customerPhone" name="电话" />
                            </div>
                            <label class="col-sm-1 control-label">TC</label>
                            <div class="col-sm-2">
                                <select class="form-control" id="tcName" name="tcName"></select>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3">
                                <#TimeCon id="startTime" name="预约回访时间" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="endTime" name="-" isTime="true"  pattern="YYYY-MM-DD hh:mm:ss" />
                            </div>
                            <div class="col-sm-3">
                                <div class="search_bt" onclick="ReturnVisit.search()">搜索</div>
                                <div class="search_bt" onclick="ReturnVisit.resetSearch()">重置</div>
                                <div class="search_bt" onclick="ReturnVisit.todaySearch()">今日预约</div>
                                <div class="search_bt" onclick="ReturnVisit.tomorrowSearch()">明日日预约</div>
                            </div>
                        </div>
                        <div class="row">
                            <label class="col-sm-1 btn addBtn addBtn_x2">跟踪状态</label>
                            <div class="col-sm-2 addBtn_y2">
                                <select class="form-control" id="followStatus" name="followStatus">
                                    <option value="">全部</option>
                                    <option value="跟踪中">跟踪中</option>
                                    <option value="跟踪完成">跟踪完成</option>
                                    <option value="跟踪结束">跟踪结束</option>
                                </select>
                            </div>
                            <label class="col-sm-1 btn addBtn addBtn_x2">消费状态</label>
                            <div class="col-sm-2 addBtn_y2">
                                <select class="form-control" id="consumptionStatus" name="consumptionStatus">
                                    <option value="">全部</option>
                                    <option value="未消费">未消费</option>
                                    <option value="只交定金">只交定金</option>
                                    <option value="未完成">未完成</option>
                                    <option value="完成">完成</option>
                                </select>
                            </div>
                        </div>
                        <#table id="ReturnVisitTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/returnVisit/returnVisit.js"></script>
<style>
    .search_bt, .other_bt {
        cursor: pointer;
        display: inline-block;
        width: 73px;
        height: 27px;
        line-height: 27px;
        color: white;
        text-align: center;
        font-size: 14px;
        border-radius: 20px;
    }

    .search_bt {
        background: url("${ctxPath}/static/img/x18.png") no-repeat;
        background-size: cover;
    }

    .other_bt {
        background: url("${ctxPath}/static/img/x19.png") no-repeat;
        background-size: cover;
    }

    td a {
        display: block;
        width: 150%;
        position: relative;
        left: -25%;
    }
</style>
@}
